< Prev(J) / Next(K) > / View :

Filename: /text/scalc/01/12120300.xhp

(section: fehlermeldung) (bookmark: bm_id3156024)

Error Alert
エラーメッセージ(hd_id3153821.1)

Define the error message that is displayed when invalid data is entered in a cell.
無効な値をセルに入力したときに表示されるエラーメッセージを指定します。(par_id3153379.2)

(/section: fehlermeldung)

You can also start a macro with an error message. A sample macro is provided at the end of this page.
エラーメッセージとともにマクロも起動できます。マクロの例については、このページの最後を参照してください。(par_id3154138.25)

(variable: wie)To access this command...(variable: wie)この機能の見つけ方

(embed text/scalc/00/00000412.xhp#datengueltigfehler : linkinfo)

Choose Data - Validity - Error Alert tab
メニュー データ → 入力規則... → エラーメーセージタブ を選択します。(par_id3154486.28)

(/embed text/scalc/00/00000412.xhp#datengueltigfehler)


(bookmark: bm_id3154908)

Show error message when invalid values are entered.
無効な値の入力時にエラーメッセージを表示する(hd_id3156280.3)

Displays the error message that you enter in the Contents area when invalid data is entered in a cell. If enabled, the message is displayed to prevent an invalid entry.
[PO-fuzzy@scalc\01.po] 無効なデータをセルに入力したときに、内容 に入力したエラーメッセージが表示されます。オンにしない場合、無効な入力を防ぐメッセージが表示されます。(par_id3150768.4)

In both cases, if you select "Stop", the invalid entry is deleted and the previous value is reentered in the cell. The same applies if you close the "Warning" and "Information" dialogs by clicking the Cancel button. If you close the dialogs with the OK button, the invalid entry is not deleted.
アクションに「中止」を選択した場合、無効な値は拒否され、元の値に戻ります。アクションに「警告」または「情報」を選択した場合、まず、無効な値を受け入れるかどうかを尋ねるダイアログが開きます。このダイアログでボタン キャンセル をクリックすると、無効な値は拒否され、元の値に戻ります。このダイアログでOK ボタンをクリックすると、無効な値は受け入れられ、そのセルに入力されます。(par_id3146984.5)

Contents
内容(hd_id3152460.6)

(bookmark: bm_id3154014)

Action
アクション(hd_id3148646.8)

Select the action that you want to occur when invalid data is entered in a cell. The "Stop" action rejects the invalid entry and displays a dialog that you have to close by clicking OK. The "Warning" and "Information" actions display a dialog that can be closed by clicking OK or Cancel. The invalid entry is only rejected when you click Cancel.
無効な値をセルに入力したときのアクションを選択します。アクションに「中止」を選択した場合、無効な値は拒否され、ダイアログにも OK しかなく、無効な値をあきらめるしかありません。アクションに「警告」または「情報」を選択した場合、まず、無効な値を拒否するかどうかを尋ねるダイアログが開きます。このダイアログには OKキャンセル があります。キャンセル をクリックすると、無効な値は拒否され、元の値に戻ります。(par_id3151115.9)

(bookmark: bm_id3154729)

Browse
検索(hd_id3156441.10)

Opens the Macro dialog where you can select the macro that is executed when invalid data is entered in a cell. The macro is executed after the error message is displayed.
マクロダイアログを開きます。このダイアログでは、無効な値をセルに入力したときに実行するマクロを選択できます。マクロは、エラーメッセージが表示された後に実行されます。(par_id3153160.11)

(bookmark: bm_id3149958)

Title
タイトル(hd_id3153876.12)

Enter the title of the macro or the error message that you want to display when invalid data is entered in a cell.
無効な値をセルに入力したときに表示されるエラーメッセージ (または実行するマクロ) のタイトルを入力します。(par_id3149410.13)

(bookmark: bm_id3153836)

Error message
エラーメッセージ(hd_id3154510.14)

Enter the message that you want to display when invalid data is entered in a cell.
無効な値をセルに入力したときに表示されるエラーメッセージの本文を入力します。(par_id3149122.15)

(section: examplemakro)

Sample macro:
マクロ例(par_id3150752.16)

Function ExampleValidity(CellValue as String, TableCell as String)
Dim msg as string
msg = "Invalid value: " & "'" & CellValue & "'"
msg = msg & " in table: " & "'" & TableCell & "'"
MsgBox msg ,16,"Error message"
End Function(par_id5303635.)

(/section: examplemakro)
< Prev / Next >